package com.tjl.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tjl.model.Star;
import com.tjl.service.StarService;
import com.tjl.mapper.StarMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Admin
* @description 针对表【star】的数据库操作Service实现
* @createDate 2022-05-27 20:27:08
*/
@Service
public class StarServiceImpl extends ServiceImpl<StarMapper, Star>
    implements StarService{

    @Autowired
    private StarMapper mapper;

    @Override
    public List<Star> selectStar(Integer i) {
        return mapper.selectView(i);
    }
}




